<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>filter</title>
    <script src="https://cdn.bootcss.com/angular.js/1.6.4/angular.min.js"></script>
</head>
<body>
    <div ng-app="" ng-init="price='100';word='good morning';arr=['李申','路飞','娜美']">
        <div>{{price | currency:'￥'}}</div>
        <div>{{word  | uppercase}}</div>

        <!--方便记住用户名字-->
        <input type="text" ng-model="name">

        <div ng-repeat="item in arr | filter:name">
            <div>{{item}}</div>
        </div>
    </div>
</body>
<script>


</script>
</html>